html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

/* This was added to make the Select2 Multiple work nicely. */
.form-group select/*, .form-group label*/{
    width:100%;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}


@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

/* BELOW: Added by RF */
body div.wrapper header.main-header a.logo{
    background-color:#ffffff;
}
body div.wrapper header.main-header a.logo:hover{
    background-color:#ffffff;
    opacity: 0.8;
}

ul.pagination{
    margin-top:0 !important;
    /*margin-bottom:0 !important;*/
}

.no-left-margin label, .no-left-margin .form-group div{
    padding-left:0;
}

div.nav-tabs-custom-no-shaddow{
    box-shadow: none;
}

div.box-body-no-padding{
    padding-top:0;
    padding-left:0;
    padding-right:0;
}

.extra-padding-header{
    margin-bottom:0px;
    padding-left:10px;
}

.table-border-bottom-blue{
    border-bottom:rgba(0, 192, 239, .4) 2px solid;
}

.table-border-top-blue-trans{
    border-top:rgba(0, 192, 239, .1) 2px solid;
}

.table-section-header{
    font-weight: bold;
}

.text-align-left{ text-align: left; }
.text-align-right{ text-align: right; }
.text-align-center{ text-align: center; }

/** Enquiry Gridview classes */
tr.grid-row-enquiry-open{
    background-color: rgba(219, 249, 221, 0.4);
}
tr.grid-row-enquiry-closed{}
tr.grid-row-enquiry-closed td{
    text-decoration: line-through;
    color: rgb(201, 202, 204);
}
tr.grid-row-enquiry-converted{
    background-color: rgb(246, 247, 205);
}
tr.grid-row-enquiry-unread{}
tr.grid-row-enquiry-unread td{
    font-weight: bold;
}

tr.grid-row-enquiry-read{}

div.invline{
    margin-bottom:15px;
}

body.login_layout div.wrapper{
    padding-top:60px;
    display: block;
    position: absolute;
    bottom:0; top:0; left:0; right:0;
    /*background: url(<?= $bgImage_path ?>) no-repeat center center fixed;*/
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow:auto;
}

body.login_layout div.wrapper div.content-wrapper{
    margin-left:0;
    padding-top:20px;
    background: none;
}

div.login-box, div.register-box{
    margin-top:7%;
}

div.login-box-body{
    position:relative;
}

div.login-box-body div.widget-user-image {
    position: absolute;
    top: -55px;
    left: 50%;
    margin-left: -45px;
    width: 90px;
    height:90px;
    overflow:hidden;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background-color:#ffffff;
    box-shadow: 0px 5px 10px -8px #000000, 2px 2px 6px -1px rgba(0,0,0,0.1);
}

div.login-box-body div.widget-user-image>img {
    margin-left:-5px;
    margin-top:-5px;
    width:100px;
    height:auto;
}

body.login_layout .main-header-login nav.navbar{
    background-color: #ffffff !important;
    margin-left:0 !important;
}

body.login_layout .main-header-login nav.navbar a.logo:hover{
    opacity:1 !important;
}

body.login_layout .main-header-login nav.navbar {
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Selection Management */
.main-header, h1, .box-title, .pagination, .sidebar, .breadcrumb, .main-footer{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.no-select{
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}
h1, .box-title, .nav-tabs .header{
    letter-spacing: 0.15em;
}
h1 small{
    letter-spacing: 0.03em;
}

ul.sidebar-menu li.header{
    letter-spacing: 0.2em;
}

.box-placeholder{background-color:#dfdfdf;opacity:.6;}
.sortable_moving{opacity:.5;}


/** Widget: ITEM LIST **/
.item-list {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: auto;
}
.item-list > li {
    border-radius: 2px;
    padding: 10px;
    background: #f4f4f4;
    margin-bottom: 2px;
    border-left: 2px solid #e6e7e8;
    color: #444;
    user-select: none;
}
.item-list > li:last-of-type {
    margin-bottom: 0;
}
.item-list > li .text {
    display: inline-block;
    margin-left: 5px;
    font-weight: 600;
}
.item-list > li .label {
    margin-left: 10px;
    font-size: 9px;
}
.item-list > li .tools {
    display: inline-block;
    float: right;
    color: #97a0b3;
}
.item-list > li .tools > .fa,
.item-list > li .tools > .glyphicon,
.item-list > li .tools > .ion {
    margin-right: 5px;
    cursor: pointer;
}
.item-list > li .tools a.list-button{
    color: #97a0b3;
}
.item-list > li:hover .tools {
    display: inline-block;
}
.item-list > li .tools a.list-button{
    opacity: .7;
}
.item-list > li .tools a.list-button:hover{
    opacity: 1;
}
.item-list > li.location-item:hover .tools a.location-button{
    color: #3c8dbc;
}
.item-list > li.location-item:hover .tools a.location-button.list-button-red{
    color: #dd4b39;
}
.item-list > li.location-item:hover .tools a.location-button.list-button-green{
    color: #7ab425;
}

.item-list .danger {
    border-left-color: #dd4b39;
}
.item-list .warning {
    border-left-color: #f39c12;
}
.item-list .info {
    border-left-color: #00c0ef;
}
.item-list .success {
    border-left-color: #00a65a;
}
.item-list .primary {
    border-left-color: #3c8dbc;
}
.item-list .handle {
    display: inline-block;
    cursor: move;
    margin: 0 5px;
    color: #97a0b3;
}

span.template-field-label{
    background-color: #ffeec2;
}

.flat{
    border-radius: 0;
}

.box-sapphire{
    border-top-color: #ffffff !important;
}

.listing{
    /*color:rgb(51, 51, 51);
    letter-spacing: .1em;*/
}

.listing-link, .listing.listing-link{
    text-decoration: none;
    display:block;
    letter-spacing: .1em;
}
.listing-link:hover{
    opacity:.7;
}

.listing-primary{
    color:rgb(51, 51, 51);
    font-weight: bold;
    letter-spacing: .1em;
}
.listing-secondary{
    color:rgb(51, 51, 51);
    font-weight: normal;
    letter-spacing: .1em;
}
.listing-minor{}

.tag-label, .tag-label a{
    color:#ffffff !important;
    font-weight: normal !important;

}

div[role="radiogroup"] label:first-of-type{
    margin-top:15px;
}

div[role="radiogroup"] label{
    display:block;
    margin-bottom:15px;
}


.no-emph{
    font-weight: normal !important;
}

.no-emph-fade{
    font-weight: normal !important;
    opacity: .6;

}

table.dataTable .filters input, table.dataTable .filters select{
	width:100%;
}


.sphr-listing-context-label{
    opacity: .6;
}
.sphr-listing-context-label:hover{
    opacity: 1;
}

.sphr-listing-context-label:first-of-type{
    margin-left:10px;
}


#quicksearch-form{
    margin-block-end: 0em !important;
}


.menu-no-caret a .caret{
    display:none !important;
}

ul.dropdown-menu li.spinner-line{
    text-align: center;
    margin-top:10px;
    margin-bottom:10px;
}

.notification-item a.notification-link{
    display:block;
    padding-top:15px !important;
    padding-bottom:15px !important;
    padding-left:15px !important;
    padding-right:30px !important;
}

.notification-item{
    /*margin-right: 15px;*/
    display:block;
    border-top:1px solid #f4f4f4;
    background-color:#ffffff;
    cursor: pointer;
    position:relative;
}

a.notification-close{
    display: block;
    position:absolute;
    background-color: rgba(0,0,0,0) !important;
    top:0;
    padding-top:15px !important;
    bottom:0;
    right:10px;
    width:30px;
    opacity: 0.5;
}
a.notification-close:hover{
    background-color: rgba(0,0,0,0) !important;
    opacity: 1;
}

.notification-item:hover{
    background-color:#f4f4f4;
    color:#444444;
    cursor: pointer;
}

.notification-item:first-of-type{
    border-top:none !important;
}

.navbar-nav>.notifications-menu>.dropdown-menu>li.header.dropdown-header{
    padding-top:7px;
}

.navbar-nav>.notifications-menu>.dropdown-menu>li.dropdown-header{
    padding-top:0;
}
.navbar-nav>.notifications-menu>.dropdown-menu>li.dropdown-header a{
    border-bottom:none !important;
}

.navbar-nav>.notifications-menu>.dropdown-menu>li.footer>a{
    border-bottom:none !important;
}

.notification-item-read{

}

.notification-item-unread, .notification-item-unread a{
    font-weight: bold !important;
    color: #000000 !important;
}

.notification-item-clicked{

}

/* BELL */
@keyframes ring {
    0% {transform: rotate(-15deg);}
    2% {transform: rotate(15deg);}
    4% {transform: rotate(-18deg);}
    6% {transform: rotate(18deg);}
    8% {transform: rotate(-22deg);}
    10% {transform: rotate(22deg);}
    12% {transform: rotate(-18deg);}
    14% {transform: rotate(18deg);}
    16% {transform: rotate(-12deg);}
    18% {transform: rotate(12deg);}
    20% {transform: rotate(0deg);}
}

.faa-ring.animated,
.faa-ring.animated-hover:hover,
.faa-parent.animated-hover:hover > .faa-ring {
    animation: ring 2s ease infinite;
    transform-origin-x: 50%;
    transform-origin-y: 0px;
    transform-origin-z: initial;
}

.footer.notifications-clear-all{
    height: initial;
    background-color: initial;
    border-top: initial;
    padding-top: initial;    
}


.notifications-menu .dropdown-header{
    padding-left:0;
    padding-right:0;
}

.box-body.box-body-no-padding{
    padding:0;
    margin:0;
}

.box-body.box-body-no-padding .dataTable, .box-body.box-body-no-padding .dataTable tr:first-of-type td{
    border-top:none;
}

.box-body.box-body-no-padding .dataTables_info{
    margin-top:-10px;
    padding-left:10px;
    padding-top:0;
    padding-bottom:10px;
}



.navbar-nav>.notifications-menu>.dropdown-menu>li .menu>li>a{
    white-space: normal;
}

.text-strikethrough, .text-strikethrough a, .text-strikethrough a:hover, .text-strikethrough a:focus, .text-strikethrough a:active{
    text-decoration: line-through;
}

.label-opaque-hover{
    opacity: .7;
    transition: opacity .5;
}

.label-opaque-hover:hover{
    opacity: 1;
}

.id-span {
    font-style: italic;
    font-size: .7em;
}

.list-group.comms-list{
    margin-top:15px;
    margin-bottom:15px;
    clear:both;
}

.new-comms-item-type{
    font-size: 0.7em;
}

.new-comms-item-value{
    font-weight: bold;

}

#new-comms-add{
    height: 68px;
    width: 100%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.font-weight-regular{
    font-weight: normal;
}

span.tag {
    background: #888;
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 3px 6px;
    color: white;
    font-size: .7em;
    letter-spacing: 1px;
    border-top-right-radius:10px;
    border-bottom-right-radius:10px;
  }